package com.flying.invest.assets.model;

import com.flying.common.util.Codes;
import com.flying.framework.annotation.Param;
import com.flying.framework.data.Data;
import com.flying.framework.data.DataSerializable;
import com.flying.framework.metadata.Meta;

@SuppressWarnings("serial")
@Meta(id="i_assets_market",title="", table="i_assets_market", primaryKeys={"market_id"})
public class AssetsMarket extends Data implements DataSerializable {
	public final static String ENTITY_NAME = "i_assets_market";
	
	public final static String MARKET_ID = "market_id";
	public final static String NAME = "name";
	public final static String CURRENCY = "currency";
	public final static String REMARKS = "remarks";
	
	
	@Param(value=MARKET_ID,   required=true,   maxlength=0,	desc="市场ID" , generator=Codes.AUTO_INCREMENT)
	private Long marketId;
	
	@Param(value=NAME,   required=true,   maxlength=100,	desc="名称" )
	private String name;
	
	@Param(value=CURRENCY,   required=true,   maxlength=10,	desc="币种" )
	private String currency;
	
	@Param(value=REMARKS,   required=false,   maxlength=100,	desc="说明" )
	private String remarks;
	
	
	public Long getMarketId() {
		return this.marketId;
	}
	
	public void setMarketId(Long marketId) {
		this.marketId = marketId;
	}
	
	public String getName() {
		return this.name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getCurrency() {
		return this.currency;
	}
	
	public void setCurrency(String currency) {
		this.currency = currency;
	}
	
	public String getRemarks() {
		return this.remarks;
	}
	
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	

}